﻿using System;
using System.Collections.Generic;
using System.Text;

using GDModel.Model;
using GDModel.Enum;

namespace GDBLL.Scene
{
    [Serializable]
    public class Room
    {
        private int m_id;
        /// <summary>
        /// ID
        /// </summary>
        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        private string m_name;
        /// <summary>
        /// 房间名称
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        private RoomType m_type;
        /// <summary>
        /// 房间类型
        /// </summary>
        public RoomType Type
        {
            get { return m_type; }
            set { m_type = value; }
        }

        private List<NPC> m_npcs;

        public List<NPC> Npcs
        {
            get { return m_npcs; }
            set { m_npcs = value; }
        }

        public Room(int id, string name, RoomType type, List<NPC> npcs)
        {
            this.m_id = id;
            this.m_name = name;
            this.m_type = type;
            this.m_npcs = npcs;
        }

        public Room() { }

    }
}
